//
//  RobotScene.h
//  iSuDoku
//
//  Created by maccctk on 09-7-8.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@class Question;

@interface RobotScene : Scene {
}

@end

@interface RobotLayer : Layer {	
	MenuItemFont *ditem[81];
	int dindex;
	
	Menu *kmenu;
	MenuItemFont *kitem[10];
	int kindex;
	
	MenuItemFont *citem[6];
	
	Sprite *keypad;
	
	Label *levelLabel;
	Label *timeLabel;
	
	time_t begin_time;
	int cur_times;

	Question *question;
	char cur_question[81];
	
	char board[9][9];
	
	bool is_alpha_doku;
}

- (void)digitClicked:(id)sender;
- (void)keyboardClicked:(id)sender;
- (void)cmdClicked:(id)sender;
- (bool)isExisted:(int)i :(int)j :(char [9][9])myBoard;
- (bool)isFull:(char [9][9]) myBoard;

@end
